home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / db / esm-3.1 / esm-3 / usr / local / sm / src / serverlib / thread / Makefile < prev    next >
Encoding:
Makefile  |  1996-05-05  |  855 b   |  46 lines

  1. MODULE = thread
  2.  
  3.  
  4. #
  5. #    Object files
  6. #
  7. FILESO = initializeTcb.o initializeThreads.o space.o threadFork.o \
  8.          threadSwitch.o threadRestart.o dispatch.o notify.o \
  9.          auditThread.o sleep.o
  10.  
  11.  
  12. #
  13. #    Source files
  14. #
  15. FILESC = initializeTcb.c initializeThreads.c space.c threadFork.c \
  16.          threadSwitch.c threadRestart.c dispatch.c notify.c \
  17.          auditThread.c sleep.C
  18.  
  19. FILES_ASM = jmp.S
  20. FILES_ASM_O = jmp.o
  21.  
  22. .SUFFIXES: .o .S
  23.  
  24. default: workspace.mod
  25.  
  26. #
  27. #    Make _setjmp() and _longjmp() for the IBM RS6000 running AIX.
  28. #    SM_RS6000 should be defined in the top-level makefile.options.
  29. #
  30. .S.o:
  31.     for i in `echo $(SM_RS6000)` ; \
  32.     do( \
  33.         /bin/rm -f $*.o ;  \
  34.         echo compiling jmp.S for IBM RS6000 ; \
  35.         m4 /usr/include/sys/asdef.s $*.S | as -o $*.o ; \
  36.     ); done;
  37.  
  38. workspace: $(FILES_ASM)
  39.  
  40. workspace.mod: $(FILES_ASM_O)
  41.  
  42. include ../makefile.subdir
  43.  
  44. include makefile.depend
  45.  
  46.